#region Using
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
using PhotoGallery.Infrastructure.Collections;
#endregion Using

namespace PhotoGallery.Core.Providers.DALProvider
{
	public interface IOperationProvider
	{
		Business.Operation Select(int id);
		void Update(Business.Operation operation);
		void Delete(Business.Operation operation);
		void Insert(Business.Operation operation);

        PagedList<Core.Business.Operation> Search(Business.OperationSearch search);

        Business.Operation Find(string controller, string operation);

        IList<Business.Operation> Find(Business.Role role, int? status);
    }
}
